import { createApp } from 'vue'
import App from './App.vue'
//统一重置 样式
import 'normalize.css'
import '@/assets/styles/common.less'
import router from './router'
import { createPinia } from 'pinia'
import XtxUi from '@/components/index'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// import XtxSkeleton from '@/components/skeleton/index.vue'
// .component('XtxSkeleton',XtxSkeleton)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
createApp(App).use(router).use(XtxUi).use(pinia).mount('#app')
